package com.initial.mapper;

import com.initial.entity.TbCrmAnnouncement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 余小年
* @description 针对表【tb_crm_announcement】的数据库操作Mapper
* @createDate 2021-12-14 17:21:59
* @Entity com.initial.entity.TbCrmAnnouncement
*/
public interface TbCrmAnnouncementMapper extends BaseMapper<TbCrmAnnouncement> {
    List<TbCrmAnnouncement> selectAllPage(@Param("page") Integer page,@Param("rows") Integer rows,@Param("title") String title,@Param("departmentid") String departmentid);
    Integer selectAllCount(@Param("title") String title,@Param("departmentid") String departmentid);
    TbCrmAnnouncement selectById(Integer id);
    Integer deleteById(Integer id);
}




